<template>
	<div class="workedit-box">
		<Header :title="title"/>
		<div class="div">
			<div v-for="(item,index) in workData" :key="index">
				<Input :numtitle="item.designation" :numinfor="item.numval"/>
			</div>
		</div>
		<Button :btitle="btitle"/>
	</div>
</template>

<script lang="ts">
	import Vue from 'vue'
	import Input from '../components/Input.vue'
	import Header from '../components/Header.vue'
	
	export default{
		data(){
			return {
				title:'工作档案卡',
				btitle:'保存',
				workData:[
					{
						designation:'公司或产品名称',
						numval:'请输入' 
					},
					{
						designation:'职位名称',
						numval:'请输入' 
					},
					{
						designation:'开始日期',
						numval:'请输入' 
					},
					{
						designation:'结束日期',
						numval:'请输入' 
					},
					
				]
			}
		},
		components:{
			Input,
			samePerson,
			Header
		},
	}
</script>

<style scoped>
	.workedit-box{
		width: 100%;
		height: 100vh;
		background: #F5F2F0;
	}
</style>
